Get

Function

This API is used to get parameter for Event Settings(cloud dedicated) > Notificaition.

Request Message

See Event Settings(cloud dedicated) > Notificaition > Range > Parameter Description > Table 1 for parameter description.

Sampel:

POST /API/Event/AlarmLinkage/Get HTTP/1.1
{
    "version": "1.0",
    "data": {
        "channel": "CH1",
        "ability": "HumanVehicle"
    }
}

Response Message

See Event Settings(cloud dedicated) > Notification > Range > Parameter Description > Table 2 for parameter description.

Sampel:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_info": {
            "CH1": {
                "notification_settings": {
                    "URL1": {
                        "enable": false,
                        "push_way": "HTTP",
                        "trigger_interval": 30,
                        "method": "POST",
                        "url": "",
                        "username": "",
                        "password": "",
                        "password_empty": true,
                        "auth_enable": false
                    },
                    "URL2": {
                        "enable": false,
                        "push_way": "HTTP",
                        "trigger_interval": 30,
                        "method": "POST",
                        "url": "",
                        "username": "",
                        "password": "",
                        "password_empty": true,
                        "auth_enable": false
                    },
                    "URL3": {
                        "enable": false,
                        "push_way": "HTTP",
                        "trigger_interval": 30,
                        "method": "POST",
                        "url": "",
                        "username": "",
                        "password": "",
                        "password_empty": true,
                        "auth_enable": false
                    }
                }
            }
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.